import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import shou from '../views/shou.vue'
import dl from '../views/dl.vue'
import zhuc from '../views/zhuc.vue'
import fen from '../views/fen.vue'
import ge from '../views/ge.vue'
import gou from '../views/gou.vue'
import lunbo from '../components/lunbo.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'dl',
    component: dl
  },
  

  {
    path: '/dl',
    name: 'dl',
    component: dl
  },
  {
    path: '/shou',
    name: 'shou',
    component: shou
  },
  {
    path: '/ge',
    name: 'ge',
    component: ge
  },
  {
    path: '/gou',
    name: 'gou',
    component: gou
  },
  {
    path: '/fen',
    name: 'fen',
    component: fen
  },
  {
    path: '/zhuc',
    name: 'zhuc',
    component: zhuc
  },
  {
    path: '/lunbo',
    name: 'lunbo',
    component: lunbo
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('../views/AboutView.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
